package com.tencent.qf.user.dto.response;

import lombok.Data;

import java.util.List;

/**
 * @author liuxuan
 * @time 2022/12/22 14:36
 */
@Data
public class UserPaymentCountCacheDTO {
    /**
     * 已支付的订单数
     */
    private Integer orderCount;

    /**
     * 订单状态为未完结的订单，（已支付，并且非success）
     */
    private List<OrderNo> orderNos;

    @Data
    public static class OrderNo {
        private String externalOrderId;

        public OrderNo() {
        }

        public OrderNo(String externalOrderId) {
            this.externalOrderId = externalOrderId;
        }
    }
}
